// 声明一个key装token名
const KEY = 'heimamm64'

// token 存,取,删除
const saveToken = token => {
  localStorage.setItem(KEY, token)
}

const getToken = () => {
  return localStorage.getItem(KEY)
}

const removeToken = () => {
  localStorage.removeItem(KEY)
}

export { saveToken, getToken, removeToken }
